package com.example.dboperate.controller;

import com.example.dboperate.entity.App;
import com.example.dboperate.mapper.AppMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author scout.du
 * @date 2025/07/07 18:57
 **/
@RestController
public class HelloController {

    @Autowired
    AppMapper appMapper;

    @GetMapping("/hello")
    public String hello(){


        App app = appMapper.selectById(6);
        System.out.println(app);
        return "hello";
    }
}
